package com.tuniu.agents.common.entity.cart;

import com.tuniu.agents.util.I18nUtil;

/**
 * Shopping cart snapshot item model class
 */
/**
 *
 */
public class HotelCartItem extends CartItem<HotelCartItem> {


    /**
     * Brand name
     */
    private String brandName;
    /**
     * Minimum starting price
     */
    private int lowestPrice;
    private String address;
    private String firstPic;
    private String business;
    private int cityCode;
    private double commentScore;
    private String roomArea;
    private long hotelId;
    private String roomName;
    private ItemUrl url;
    private String commentDigest;
    private String meal;
    private boolean domestic;
    private String roomWindow;
    private String checkIn;
    private String cityName;
    private String starName;
    /**
     * Hotel name
     */
    private String chineseName;
    private String checkOut;
    private String refund;




    public String getBrandName() {
        return brandName;
    }



    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }



    public int getLowestPrice() {
        return lowestPrice;
    }



    public void setLowestPrice(int lowestPrice) {
        this.lowestPrice = lowestPrice;
    }



    public String getAddress() {
        return address;
    }



    public void setAddress(String address) {
        this.address = address;
    }



    public String getFirstPic() {
        return firstPic;
    }



    public void setFirstPic(String firstPic) {
        this.firstPic = firstPic;
    }



    public String getBusiness() {
        return business;
    }



    public void setBusiness(String business) {
        this.business = business;
    }



    public int getCityCode() {
        return cityCode;
    }



    public void setCityCode(int cityCode) {
        this.cityCode = cityCode;
    }



    public double getCommentScore() {
        return commentScore;
    }



    public void setCommentScore(double commentScore) {
        this.commentScore = commentScore;
    }



    public String getRoomArea() {
        return roomArea;
    }



    public void setRoomArea(String roomArea) {
        this.roomArea = roomArea;
    }



    public long getHotelId() {
        return hotelId;
    }



    public void setHotelId(long hotelId) {
        this.hotelId = hotelId;
    }



    public String getRoomName() {
        return roomName;
    }



    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }



    public ItemUrl getUrl() {
        return url;
    }



    public void setUrl(ItemUrl url) {
        this.url = url;
    }



    public String getCommentDigest() {
        return commentDigest;
    }



    public void setCommentDigest(String commentDigest) {
        this.commentDigest = commentDigest;
    }



    public String getMeal() {
        return meal;
    }



    public void setMeal(String meal) {
        this.meal = meal;
    }



    public boolean isDomestic() {
        return domestic;
    }



    public void setDomestic(boolean domestic) {
        this.domestic = domestic;
    }



    public String getRoomWindow() {
        return roomWindow;
    }



    public void setRoomWindow(String roomWindow) {
        this.roomWindow = roomWindow;
    }



    public String getCheckIn() {
        return checkIn;
    }



    public void setCheckIn(String checkIn) {
        this.checkIn = checkIn;
    }



    public String getCityName() {
        return cityName;
    }



    public void setCityName(String cityName) {
        this.cityName = cityName;
    }



    public String getStarName() {
        return starName;
    }



    public void setStarName(String starName) {
        this.starName = starName;
    }



    public String getChineseName() {
        return chineseName;
    }



    public void setChineseName(String chineseName) {
        this.chineseName = chineseName;
    }



    public String getCheckOut() {
        return checkOut;
    }



    public void setCheckOut(String checkOut) {
        this.checkOut = checkOut;
    }



    public String getRefund() {
        return refund;
    }



    public void setRefund(String refund) {
        this.refund = refund;
    }

    @Override
    public String toString() {
        return '{' +
                "\""+I18nUtil.getMessage(CartItemConstant.HOTEL_HOTEL_NAME)+"\":\"" + chineseName + '\"' +
                ",\""+I18nUtil.getMessage(CartItemConstant.HOTEL_LOWEST_PRICE)+"\":" + lowestPrice +  '\"' +
                ",\""+I18nUtil.getMessage(CartItemConstant.HOTEL_CITY_NAME)+"\":" + cityName + '\"' +
                ",\""+I18nUtil.getMessage(CartItemConstant.HOTEL_CHECK_IN)+"\":" + checkIn + '\"' +
                ",\""+I18nUtil.getMessage(CartItemConstant.HOTEL_COMMENT_SCORE)+"\":" + commentScore + '\"' +
                ",\""+I18nUtil.getMessage(CartItemConstant.HOTEL_COMMENT_DIGEST)+"\":" + commentDigest + '\"' +
                ",\""+I18nUtil.getMessage(CartItemConstant.HOTEL_CHECK_OUT)+"\":" + checkOut + '\"' +
                ",\""+I18nUtil.getMessage(CartItemConstant.HOTEL_MEAL)+"\":" + meal + '\"' +
                ",\""+I18nUtil.getMessage(CartItemConstant.HOTEL_STAR_NAME)+"\":" + starName + '\"' +
                ",\""+I18nUtil.getMessage(CartItemConstant.HOTEL_REFUND)+"\":" + refund  + '\"' +
                '}';
    }




} 